how to check if you need treatment for hip pain